SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
ark_root=$(dirname $(dirname $(dirname $(dirname "$SCRIPT_DIR"))))
arkcompiler_tool_path=$(dirname "$ark_root")/arkcompiler_tool
ark_guard_root=$ark_root/arkcompiler/runtime_core/ark_guard

# Modify the following configuration
#abc_file=$ark_guard_root/tests/build/ut/obfuscator/code_sample/enum_demo.updated.abc
#pa_file=$ark_guard_root/tests/build/ut/obfuscator/code_sample/enum_demo.updated.pa

abc_file=$ark_guard_root/tests/build/projects/import_test/modules_static_updated.abc
pa_file=$ark_guard_root/tests/build/projects/import_test/modules_static_updated.pa

${arkcompiler_tool_path}/clang_x64/ark_disasm_static $abc_file $pa_file
